package com.zhouheng.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 读取Master数据源配置信息
 *
 * @author 周恒
 * @date 20180830 16:00:07
 * @since v1.0
 */
@Configuration
@ConfigurationProperties(prefix = "master.datasource")
public class MasterDataSourceProperty {

    private String url;

    private String userName;

    private String passWord;

    private String driverClassName;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getDriverClassName() {
        return driverClassName;
    }

    public void setDriverClassName(String driverClassName) {
        this.driverClassName = driverClassName;
    }
}
